package com.xcy.dao;

import java.util.List;
import java.util.Map;

import com.xcy.dto.User;

public interface IUserDao {

    public User queryByPrimaryKey(Integer id);

    public List<User> queryUserByBatch(Map<String,Object> params);

    public void insertUser(User user);

    public void insertUserByBatch(List<User> list);

    public void deleteByPrimaryKey(Integer id);

    public void delteUserByBatch(Map<String,Object> params);

    public void updateByPrimaryKey(User user);

    public List<User> getAllUser();

}